/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "流程模版",TableName = "Fl_template",DetailTable =  new Type[] { typeof(Fl_template_list)},DetailTableCnName = "流程模板明细")]
    public partial class Fl_template:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="ft_id")]
       [Column(TypeName="uniqueidentifier")]
       [Required(AllowEmptyStrings=false)]
       public Guid ft_id { get; set; }

       /// <summary>
       ///流程模板名称
       /// </summary>
       [Display(Name ="流程模板名称")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string ft_name { get; set; }

       [Display(Name ="流程模板明细")]
       [ForeignKey("ft_id")]
       public List<Fl_template_list> Fl_template_list { get; set; }

    }
}